package com.dengxingxing.ssm.service;

import com.dengxingxing.ssm.entity.Book;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author DELL
 */
@Transactional
public interface BookService {
    @Transactional(readOnly = true)
    List<Book> findAllBooks();
}
